package com.ssm.pre.dao;

import java.util.List;
import java.util.Map;

public interface FaultInfoDao {

	// 查询故障类型列表
	public List<Map<String, Object>> queryFaultInfoList(Map<String, Object> map) throws Exception;

	// 新增故障类型列表
	public int addFaultInfo(Map<String, Object> map) throws Exception;

	// 修改故障类型列表
	public int editFaultInfo(Map<String, Object> map) throws Exception;

	// 删除故障类型列表
	public int deleteFaultInfoById(Map<String, Object> map) throws Exception;

	// 根据id查询
	public Map<String, Object> findFaultInfoById(Map<String, Object> map) throws Exception;

}
